package com.changgou.order.feign;

import com.changgou.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @Author tang.qingbo
 * @Date 2020/9/8 0:53
 * @Version 1.0
 */
@FeignClient(name = "pay")
@RequestMapping("/weixin/pay")
public interface PayFeign {
    /**
     * 查询支付状态信息
     */
    @GetMapping("/status/query")
    Result queryStatus(@RequestParam String outtradeno);
}
